package com.liaogui.acl.adapter;

import com.liaogui.order.api.RemoteTestService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

/**
 * @author liaogui
 * @date 2025/2/27 18:14
 */
@Component
public class TestServiceAdapter {
    @DubboReference
    private RemoteTestService remoterTestService;

    public String hello(String name) {
        return "Adapter: " + remoterTestService.hello(name);
    }


}
